<?php

/**
 * Blog
 * 
 * @author xuxuwei-
 * @version 
 */


class Application_Model_BusiInfo_Blog extends Base_BusiInfo{

	//blog id
	protected $bid;
	protected $title;
	protected $content;
	//blog owner user id
	protected $ownerId;
	protected $ownerName;
	protected $createdDate;
	protected $updatedDate;
	protected $viewCount;//How many times this blog has been viewd   
	protected $tags;
	protected $category;
	protected $categoryId;
	protected $privilegeType;

	public function getCategoryId() {
		return $this->categoryId;
	}
	public function setCategoryId($catId) {
		$this->categoryId = $catId;
	}
	public function getCategory() {
		return $this->category;
	}
	public function setCategory($cat) {
		$this->category = $cat;
	}
	public function getBid() {
		return $this->bid;
	}
	
	public function setBid($blogId) {
		$this->bid = $blogId;
	}
	
	public function getTitle() {
		return $this->title;
	}
	
	public function setTitle($title) {
		$this->title = $title;
	}
	
	public function getContent() {
		return $this->content;
	}
	
	public function setContent($content) {
		$this->content = $content;
	}
	
	public function getOwnerId () {
		return $this->ownerId;
	}
	
	public function setOwnerId($uid) {
		$this->ownerId = $uid;
	}
	
	public function getCreateDate () {
		return $this->createdDate;
	}
	
	public function setCreateDate($cDate) {
		$this->createdDate = $cDate;
	}
	
	public function getUpdateDate () {
		return $this->updatedDate;
	}
	
	public function setUpdateDate($uDate) {
		$this->updatedDate = $uDate;
	}
	public function getViewCount() {
		return $this->viewCount;
	}
	
	public function setViewCount($viewCount) {
		$this->viewCount = $viewCount;
	}
	
	public function getTags() {
		return $this->tags;
	}
	public function setTags($tags) {
		$this->tags = $tags;
	}
	public function getPrivilegeType() {
		return $this->privilegeType;
	}
	public function setPrivilegeType($privilegeType) {
		$this->privilegeType = $privilegeType;
	}
	public function getOwnerName() {
		return $this->ownerName;
	}
	public function setOwnerName($nickname) {
		$this->ownerName = $nickname;
	}
}

